package com.yunshang.shoppingmall.mapper;

import com.yunshang.shoppingmall.entity.Withdrawals;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface WithdrawalsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Withdrawals record);

    int insertSelective(Withdrawals record);

    Withdrawals selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Withdrawals record);

    int updateByPrimaryKey(Withdrawals record);

    //根据用户编号Id查询用户的银行卡信息
    List<Withdrawals> selectWithdrawalsByUserNoId(int userNoId);

    //根据提现标记查询所有的提现申请
    List<Withdrawals> selectWithdrawalsListBySign(String tixianSign);

}
